<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link th:href="@{/css/signin.css}" rel="stylesheet">
</head>
<body class="text-center">

<form class="form-signin" th:action="@{/user/enroll}" th:method="post">

    <img class="mb-4" th:src="@{/img/zzu.svg}" alt="" width="300" height="250">

    <p style="color: red" th:text="${msg3}" th:if="${not #strings.isEmpty(msg3)}"></p>

    <input type="text" name="username" class="form-control" th:placeholder="请输入用户名" required="" autofocus>
    <br>
    <input type="password" name="password1" class="form-control" th:placeholder="请输入密码" required="">
    <br>
    <input type="password" name="password2" class="form-control" th:placeholder="请再次输入密码" required="">
    <br>
    <input type="text" name="usercode" class="form-control" th:placeholder="请输入授权码" required="">
    <br>

    <button class="btn btn-lg btn-primary btn-block" type="submit">确认</button>

</form>

</body>
</html>